<!doctype html>
<html lang="zh">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

    <title>{% block title %}{% endblock %}</title>
      <style>
          *{
              margin:0;
              padding:0;
          }
          html,body{
              height:100%;
              text-align: center;
          }
          .viewport{
              width:100%;
              position:relative;
          }
          h5{
              color:darkgoldenrod;
              font-size: 4vw;
              letter-spacing: 0.5vw;
          }
      </style>
      {% block ext_css %}
      {% endblock %}
  </head>
  <body>
    {% block content%}{% endblock %}
    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://code.jquery.com/jquery-3.1.0.js"></script>
    <script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
    <script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
    <script>
        function go2top() {
            console.log("asdasdadasda");
            $('html, body').animate({ scrollTop: 0 }, "slow");
        }
        function checkPhone(phone){
            if(!(/^1[34578]\d{9}$/.test(phone))){
                return false;
            }else {
                return true
            }
        }
        $(function () {
            $(".viewport").css('height', window.innerHeight);
            $(".guitar").css('width', window.innerWidth * 0.78);
            $(".guitar").css('height', window.innerWidth * 0.78 * 1065.0 / 625.0 );
        })
    </script>
  {% block ext_script %}
  {% endblock %}
  </body>
</html>